package com.woniuxy.hibernate.service;

import com.woniuxy.hibernate.run.LoginRun;

public class LoginService {

	public boolean checkLogin(String userName, String passWord) {
		boolean result = false;
		LoginRun loginRun = new LoginRun();
		String realPass = loginRun.get(userName);
		if (passWord.length()>0 && passWord.equals(realPass)){
			result = true;
		}
		
		
		return result;
	}
	
}
